setAutoCancel

@NonNull
open fun setAutoCancel(autoCancel: Boolean): @NonNull NotificationCompat.Builder(source)

Setting this flag will make it so the notification is automatically canceled when the user clicks it in the panel.